export const staticRouters = [
  {
    path: "/",
    name: "Home",
    component: () => import("@/layout/index.vue"),
    redirect: "/welcome",
    children: [
      {
        path: "/welcome",
        name: "Welcome",
        component: () => import("@/views/home/index.vue"),
        meta: {
          title: "首页",
          showLink: false
        }
      },
      // 系统管理路由
      {
        path: "/system/user",
        name: "SystemUser",
        component: () => import("@/views/system/user/index.vue"),
        meta: {
          title: "用户管理"
        }
      },
      {
        path: "/system/role",
        name: "SystemRole",
        component: () => import("@/views/system/role/index.vue"),
        meta: {
          title: "角色管理"
        }
      },
      {
        path: "/system/menu",
        name: "SystemMenu",
        component: () => import("@/views/system/menu/index.vue"),
        meta: {
          title: "菜单管理"
        }
      },
      // 设置页面路由
      {
        path: "/settings",
        name: "Settings",
        component: () => import("@/views/settings/index.vue"),
        meta: {
          title: "系统设置"
        }
      }
    ]
  },
  {
    path: "/login",
    name: "Login",
    component: () => import("@/views/login/index.vue"),
    meta: {
      title: "登录"
    }
  }
] satisfies Array<RouteConfigsTable>;
